gadgetoverlap()

Description:

Check if two gadgets overlap

Syntax:

Required syntax:

 

overlap = gadgetoverlap( gadgethandle1 , gadgethandle2 )

 

Parameters:

Required parameters

Description

gadgethandle1 The first handle to the gadget you wish to check
gadgethandle2 The second handle to the gadget you wish to check if overlap the first gadget

Returns:

True if gadgets overlap, else false

Example: